
#ifndef __APP_NET_H__
#define __APP_NET_H__


#include "debug.h"
#include "include_com.h"
#include "include_other.h"

//************************************************
#define   CFG_BUFF_LEN       (1024)
#define   CFG_LISTEN_PORT    (8888)

//************************************************

typedef struct _server_para_t
{
	int			   s_cmd;

	int			   s_sockfd;
	int 		   s_connfd;

	char           s_r_buff[CFG_BUFF_LEN];
	char           s_w_buff[CFG_BUFF_LEN];

}server_para_t;

//************************************************

int32_t app_net_create(void);
int32_t app_net_destory(void);



//************************************************

#endif
